var mongoose = require('mongoose');

//schema
var userSchema = new mongoose.Schema({
    "username"  : String,
    "password" : String
});

//索引
userSchema.index({ "sid": 1});

//model
var User = mongoose.model("User",userSchema);

module.exports = User;


